package com.lmk;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

@SpringBootApplication
// 启动时扫描包下面所有接口，并且自动生成代理对象
@MapperScan("com.lmk.*.mapper")
@ServletComponentScan(value = {"com.lmk.system.listener"})
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
    }
}
